package com.my.netty.optimize.server.service.impl;

import com.my.netty.optimize.server.service.HelloService;

public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello(String name) {
        System.out.println(name + "发来了sayHello请求");
        //模拟异常
//        int a = 1 / 0;
        return "我很好，你呢？" + name;
    }
}
